﻿namespace Creature
{
    /// <summary>
    /// The Border interface.
    /// </summary>
    public interface IBorder
    {
        /// <summary>
        /// The step is blocked.
        /// </summary>
        /// <param name="context">
        /// The context.
        /// </param>
        /// <param name="dx">
        /// The delta x.
        /// </param>
        /// <param name="dy">
        /// The delta y.
        /// </param>
        /// <param name="width">
        /// The width.
        /// </param>
        /// <param name="height">
        /// The height.
        /// </param>
        /// <param name="justScreen">
        /// The just Screen.
        /// </param>
        /// <returns>
        /// The <see cref="bool"/>.
        /// </returns>
        bool StepIsBlocked(Creature context, double dx, double dy, int width, int height, bool justScreen = false);
    }
}
